struct rec{
    int i;
    int j;
    int a[2];
    int *p;
};

int foo(){
    struct rec r;
    r.i = 5;
    r.j = r.i;
    return r.j;
}



/* 

# r in rdi
movl (%rdi), %eax # get r -> i
# save value of i into eax
movl (%eax), 4(%rdi) # store in r->j
#save value of eax into j

*/